home *** CD-ROM | disk | FTP | other *** search
/ BlastDOS / [DOS Application] Microsoft - LAN Manager 2.2c - Installation Disks.zip / NW / NWUNLOAD.BAT < prev    next >
DOS Batch File  |  1994-09-02  |  912b  |  34 lines

  1. @echo off
  2. echo Unloading Netware shell and IPX protocol.
  3. rem *************************************************************************
  4. rem **    To invoke the DOS version independent NetWare shell, uncomment
  5. rem **    the following two lines.
  6. rem netx /u
  7. rem goto IPXREL
  8. rem **    End of DOS version independent NetWare shell lines
  9. rem *************************************************************************
  10. rem **    DOSVER return value is 1 on error (and DOS versions below 3.x),
  11. rem **    DOS version otherwise.
  12. rem *************************************************************************
  13. dosver
  14. if errorlevel 5 goto DOS5x
  15. if errorlevel 4 goto DOS4x
  16. if errorlevel 3 goto DOS3x
  17. goto ERROR_UNLOADING
  18. :DOS3x
  19. net3 /u
  20. goto IPXREL
  21. :DOS4x
  22. net4 /u
  23. goto IPXREL
  24. :DOS5x
  25. net5 /u
  26. :IPXREL
  27. unload ipx
  28. if errorlevel 1 goto ERROR_UNLOADING
  29. goto END
  30. :ERROR_UNLOADING
  31. echo          Netware unload aborted.
  32. :END
  33. 
  34.